include_directories(
    ${CMAKE_SOURCE_DIR}/src
    ${DEP_DIR}/include
    ${CMAKE_SOURCE_DIR}/deps/oblib/src
)
add_definitions(-D__ERROR_CODE_PARSER_)
set(SRC_LIST ob_error.cpp os_errno.cpp ${CMAKE_SOURCE_DIR}/src/share/ob_errno.cpp)

add_executable(ob_error ${SRC_LIST})

add_library(oberror SHARED ${SRC_LIST})

# message(STATUS "DIR = " ${CMAKE_SOURCE_DIR})